package com.example.demo.controller;


import com.example.demo.dto.MemberDTO;
import com.example.demo.service.MemberService;
import com.example.demo.vo.MemberLoginVO;
import io.swagger.annotations.ApiOperation;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * @description: 会员管理器
 * @date 2019/12/314:04 PM
 */
@Slf4j
@RestController
@RequestMapping("/member")
public class MemberController {
    @Autowired
    private MemberService memberService;

    @GetMapping("/detail")
    @ResponseBody
    @ApiOperation("会员信息")
    public String detailMember() {
        ExecutorService executor = Executors.newFixedThreadPool(6);
        executor.shutdown();
        return "SUCCESS";
    }

    @GetMapping("/guide")
    @ResponseBody
    @ApiOperation("标记用户已经观看过新手引导")
    public String guideMember() {
        ExecutorService executor = Executors.newFixedThreadPool(6);
        executor.shutdown();

        return "SUCCESS";
    }

}
